From: Benjamin Otte Date: Thu, 9 Jun 2022 00:42:10 +0000 (+0200) Subject: gtkpango: Add G_GNUC_WARN_UNUSED_RESULT X-Git-Tag: archive/raspbian/4.8.3+ds-2+rpi1~3^2~81^2^2~132^2~8 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=b8199bcc1f28239b6050a8951493172e026965b8;p=gtk4.git gtkpango: Add G_GNUC_WARN_UNUSED_RESULT Guess who just spent 10 minutes in gdb and doesn't want to do that again. --- diff --git a/gtk/gtkpango.h b/gtk/gtkpango.h index a7eae932c3..55cab30b3c 100644 --- a/gtk/gtkpango.h +++ b/gtk/gtkpango.h @@ -31,7 +31,7 @@ G_BEGIN_DECLS PangoAttrList *_gtk_pango_attr_list_merge (PangoAttrList *into, - PangoAttrList *from); + PangoAttrList *from) G_GNUC_WARN_UNUSED_RESULT; gboolean gtk_buildable_attribute_tag_start (GtkBuildable *buildable, GtkBuilder *builder,